@import "../../sass/base.scss";

.card {
  height: 150px;
  width: 32.3%;
  cursor: pointer;
  overflow: hidden;
  margin-right: 25px;
  float: left;
  padding: 10px 14px;
  padding-top: 14px;
  border: solid 1px #eeeeee;
  transition: all .2s;
  
  margin-bottom: 14px;
  &:nth-child(3n) {
    margin-right: 0;
  }

  &:hover {
    background-color: rgba(2, 214, 220, 0.1);
    border: solid 1px rgba(2, 214, 220, 0.5);
    // border-color: $PrimaryColor;
  }

  .card-left {
    height: 150px;
    float: left;
    width: 185px;

    .img {
      height: 120px;
      width: 150px;
      background-image: url("./../../../assets/images/project/sdf.png");
      background-repeat: no-repeat;
      background-size: 100% 100%;
    }
  }

  .card-right {
    height: 150px;
    float: left;
    width: calc(100% - 190px);

    .right-icon {
      height: 24px;
      font-size: 16px;
      float: right;

      .form {
        display: none;
        color: #999999;
        &:hover {
          color: $PrimaryColor;
        }
      }

      .delete {
        margin-left: 10px;
        display: none;
        color: #999999;
        &:hover {
          color: $PrimaryColor;
        }
      }
    }

    .right-list {
      height: 30px;
      width: 85%;
      line-height: 24px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;

      .span-one {
        font-size: 16px;
      }

      .span-two {
        font-size: 15px;
        color: #999999;
      }
    }
  }
}

.project-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0px;

  .container {
    width: 90%;
    // width: 1750px;
    height: 100%;

    .head {
      height: 55px;
      width: 100%;
      overflow: hidden;

      .search {
        float: right;
      }
    }

    .body {
      height: calc(100% - 2px);
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-content: center;

      .body-left {
        width: 250px;
        height: 400px;
        padding: 20px 20px;
        background-color: white;
        box-shadow: 0px 0px 8px #ddd;
        border-radius: 5px;
        height: min-content;
        .function {
          margin-top: 20px;
          text-align: center;
        }
      }

      .body-right {
        // margin-left: 25px;
        // width: 1454px;
        width: 100%;
        background-color: white;
        box-shadow: 0px 0px 8px #ddd;
        border-radius: 5px;

        .right-head {
          height: 50px;
          padding: 0px 25px;
          line-height: 50px;
          color: #333333;
          font-size: 15px;
          border-bottom: 1px solid #f2f2f2;
        }

        .right-content {
          height: calc(100% - 120px);
          // padding: 25px 25px;
          padding-top: 25px;
          padding-left: 25px;
          padding-right: 25px;
          // width: 1300px;
          overflow: auto;
          @include scrollbar();

          // .card {
          //   @extend %card;
          // }
        }
      }
    }
  }
}

.modal {
  height: 55px;
  line-height: 32px;

  > div > input {
    width: 235px;
  }
}

.modal-text {
  height: 110px;

  .modal-left {
    line-height: 32px;
  }

  /* 上传图片样式 begin */
  .t_photo {
    position: relative;
    height: 100px;
    width: 100px;
    border: 1px solid #e5e5e5;
    // background: url(./../../../assets/images/project/add-hc.jpg) center no-repeat;
    // background-size: 60px 60px;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    &:hover {
      border-color: $PrimaryColor;
      .top {
        color: $PrimaryColor
      }
      .bottom {
        color: $PrimaryColor
      }
    }
    .top {
      height: 50px;
      font-size: 30px;
      line-height: 60px;
      text-align: center;
      color: #969696;
    }

    .bottom {
      height: 50px;
      text-align: center;
      line-height: 35px;
      color: #969696;
    }
    > img {
      width: 100%;
      height: 100%;
    }

    > .fbtn {
      font-size: 2.51733333rem;
      width: 100%;
      height: 100%;
      cursor: pointer;
      position: absolute;
      right: 0;
      top: 0;
      opacity: 0;
      display: none;
      filter: alpha(opacity=0);
    }
  }
  /* 上传图片样式 end */

  .upload {
    height: 100px;
    width: 100px;
    border: 1px solid #d9d9d9;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: 100% 100%;

    &:hover {
      box-shadow: 0px 0px 5px #666666;
    }

    .top {
      height: 50px;
      font-size: 30px;
      line-height: 60px;
      text-align: center;
      color: #969696;
    }

    .bottom {
      height: 50px;
      text-align: center;
      line-height: 35px;
      color: #969696;
    }
  }
}

::ng-deep .ant-modal-footer {
  // text-align: center;
}
.content-body {
  height: 540px;
  padding: 10px 10px;
}
.map-address {
  position: absolute;
  width: 100%;
  max-height: 200px;
  overflow: auto;
  z-index: 1000;
  background: #fff;

  .address-item {
    cursor: pointer !important;
    &:hover {
      background: rgba(238, 236, 236, 0.726);
    }
    overflow: hidden;

    margin: 5px;
    display: block;
    .address-title {
      width: 100%;
      display: inline-block;
      font-size: 14px;
      line-height: 20px;
      font-weight: bold;
      text-align: left;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      float: left;
    }
    .address-add {
      width: 100%;
      display: inline-block;
      font-size: 12px;
      line-height: 20px;
      color: #888888;
      text-align: left;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      float: left;
    }
  }
}
